<?php echo $header;echo $sidebar ?>		

	<div class="span10 content">

		<?php echo $hugemenu ?>

		<h1><?php echo lang('customer_add_new');?></h1>

		<?php if($this->session->flashdata('message')) :?>
			<div class="alert alert-success">
				<?php echo $this->session->flashdata('message') ?>
			</div>
		<?php endif; ?>
		
		<?php if($message) { echo "<div class=\"alert alert-danger\"><button type=\"button\" class=\"close\" data-dismiss=\"alert\">&times;</button>" . $message . "</div>"; } ?>

		<div>
			   	<?php $attrib = array('class' => 'form-horizontal'); echo form_open("admin/customerAdd?view=add");?>

				<div class="form-group">
				  <label for="name"><?php echo $this->lang->line("customer_form_name"); ?></label>
				  <div class="controls"> <?php echo form_input($name, '', 'class="form-control" id="name" style="width:98%;"');?>
				  </div>
				</div> 
				<div class="form-group">
				  <label for="email_address"><?php echo $this->lang->line("customer_form_email_address"); ?></label>
				  <div class="controls"> <?php echo form_input($email, '', 'class="form-control" id="email_address" style="width:98%;"');?>
				  </div>
				</div> 
				<div class="form-group">
				  <label for="phone"><?php echo $this->lang->line("customer_form_phone"); ?></label>
				  <div class="controls"> <?php echo form_input($phone, '', 'class="form-control" id="phone" style="width:98%;"');?>
				  </div>
				</div> 
				<div class="form-group">
				  <label for="company"><?php echo $this->lang->line("customer_form_company"); ?></label>
				  <div class="controls"> <?php echo form_input($company, '', 'class="form-control" id="company" style="width:98%;"');?>
				  </div>
				</div> 
				<div class="form-group">
				  <label for="address"><?php echo $this->lang->line("customer_form_address"); ?></label>
				  <div class="controls"> <?php echo form_input($address, '', 'class="form-control" id="address" style="width:98%;"');?>
				  </div>
				</div>  
				<div class="form-group">
				  <label for="city"><?php echo $this->lang->line("customer_form_city"); ?></label>
				  <div class="controls"> <?php echo form_input($city, '', 'class="form-control" id="city" style="width:98%;"');?>
				  </div>
				</div> 
				<div class="form-group">
				  <label for="state"><?php echo $this->lang->line("customer_form_state"); ?></label>
				  <div class="controls"> <?php echo form_input($state, '', 'class="form-control" id="state" style="width:98%;"');?>
				  </div>
				</div> 
				<div class="form-group">
				  <label for="postal_code"><?php echo $this->lang->line("customer_form_postal_code"); ?></label>
				  <div class="controls"> <?php echo form_input($postal_code, '', 'class="form-control" id="postal_code" style="width:98%;"');?>
				  </div>
				</div> 
				<div class="form-group">
				  <label for="country"><?php echo $this->lang->line("customer_form_country"); ?></label>
				  <div class="controls"> <?php echo form_input($country, '', 'class="form-control" id="country" style="width:98%;"');?>
				  </div>
				</div> 
				<div class="form-group">
				  <label for="cf1"><?php echo $this->lang->line("customer_form_cf1"); ?></label>
				  <div class="controls"> <?php echo form_input($cf1, '', 'class="form-control" id="cf1" style="width:98%;"');?>
				  </div>
				</div> 
				<div class="form-group">
				  <label for="cf2"><?php echo $this->lang->line("customer_form_cf2"); ?></label>
				  <div class="controls"> <?php echo form_input($cf2, '', 'class="form-control" id="cf2" style="width:98%;"');?>
				  </div>
				</div> 
				<div class="form-group">
				  <label for="cf3"><?php echo $this->lang->line("customer_form_cf3"); ?></label>
				  <div class="controls"> <?php echo form_input($cf3, '', 'class="form-control" id="cf3" style="width:98%;"');?>
				  </div>
				</div> 
				<div class="form-group">
				  <label for="cf4"><?php echo $this->lang->line("customer_form_cf4"); ?></label>
				  <div class="controls"> <?php echo form_input($cf4, '', 'class="form-control" id="cf4" style="width:98%;"');?>
				  </div>
				</div> 
				<div class="form-group">
				  <label for="cf5"><?php echo $this->lang->line("customer_form_cf5"); ?></label>
				  <div class="controls"> <?php echo form_input($cf5, '', 'class="form-control" id="cf5" style="width:98%;"');?>
				  </div>
				</div> 
				<div class="form-group">
				  <label for="cf6"><?php echo $this->lang->line("customer_form_cf6"); ?></label>
				  <div class="controls"> <?php echo form_input($cf6, '', 'class="form-control" id="cf6" style="width:98%;"');?>
				  </div>
				</div> 
				
				<div class="form-group">
				  <div class="controls"> <?php echo form_submit('submit', $this->lang->line("customer_form_add_customer"), 'class="btn btn-primary"');?> </div>
				</div>
				<?php echo form_close();?> 
							
		</div>
		
		
	</div><!--/content-->

<?php echo $footer ?>